import random


def generate_random_gender(num):
    genders = ['男', '女']
    result = random.choices(genders, k=num)
    return result


# 生成10个随机性别
if __name__ == '__main__':
    random_genders = generate_random_gender(1000)
    for gender in random_genders:
        print(gender)
